home *** CD-ROM | disk | FTP | other *** search
- /*
- standards.h -- standard types and constants used in all DW's programs in Lightspeed C.
- */
-
-
- /*constants*/
-
- #define true -1
- #define false 0
-
- #define emptystring &"\p"
-
- #define chhome ((char) 1)
- #define chend ((char) 4)
- #define chhelp ((char) 5)
- #define chpageup ((char) 11)
- #define chpagedown ((char) 12)
- #define chdelete ((char) 127)
- #define chrightarrow ((char) 29)
- #define chleftarrow ((char) 28)
- #define chuparrow ((char) 30)
- #define chdownarrow ((char) 31)
- #define chtab ((char) '\t')
-
- #define infinity 32767
-
- #define lenbigstring 255
-
- #define scrollbarwidth 16
-
- #define sizegrowicon 15 /*it's square, this is the length of each side*/
-
- #define menubarheight 20
-
- #define nil 0L
-
-
- /*types*/
-
- #define boolean int
-
- #define bigstring Str255
-
- typedef char *ptrchar;
-
- typedef bigstring *ptrstring;
-
- typedef int *ptrint;
-
-
- /*macros*/
-
- #define sysbeep SysBeep (1) /*this one is driving me absolutely crazy*/
-
- #define mod %
-
- #define div /
-
-
-
-
-